package com.example.administrator.xiaoxiang.data;

import java.util.List;

/**
 * Created by Administrator on 2017/1/9.
 */

public class DetailPagesData {

    /**
     * good : {"platformCode":"006","goodSource":1,"goodsCode":"102071","peroidInstalmentAmount":61567,"promotionPrice":738800,"categoryTow":{"id":194,"categoryName":"平板","categoryCode":"40134"},"goodsSourceStoreName":"华为官方旗舰店","categoryOne":{"id":44,"categoryName":"数码","categoryCode":"4044"},"propertyValues":[{"property":{"name":"品牌"},"option":{"propertyOptionsValue":"华为/HUAWEI"}},{"id":124918,"property":{"id":167,"goodsCategoryIdid":47,"name":"系统"},"option":{"id":2694,"propertyId":167,"propertyOptionsValue":"windows"}},{"id":124920,"property":{"id":168,"goodsCategoryIdid":47,"name":"硬盘"},"option":{"id":1296,"propertyId":168,"propertyOptionsValue":"256GB"}},{"id":124922,"property":{"id":305,"goodsCategoryIdid":47,"name":"特色"},"option":{"id":13216,"propertyId":305,"propertyOptionsValue":"PC平板二合一"}},{"id":124924,"property":{"id":696,"goodsCategoryIdid":57,"name":"产地"},"option":{"id":3098,"propertyId":696,"propertyOptionsValue":"中国大陆"}},{"id":124926,"property":{"id":3412,"goodsCategoryIdid":194,"name":"处理器品牌"},"option":{"id":9678,"propertyId":3412,"propertyOptionsValue":"Intel/英特尔"}}],"instalmentPeriods":12,"title":"华为（HUAWEI）MateBook 12英寸平板二合一笔记本电脑 (Intel core m5 8G内存 256G存储 键盘 Win10)香槟金","isInstalment":true,"skuFlag":false,"originalPrice":738800,"instalmentInfo":"12期免息分期，仅需要每期支付￥615.67","sourcePlatformPicurl":"http://img.xiaoxiangyoupin.com/image/40fa3a33-d451-40c7-bd3f-5c59a9d9effc.jpg","thumbnailUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447189635305472.jpg","images":[{"pixel":"750*300","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x300_616447290105663488.png","showSequence":0},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447288998367232.jpg","showSequence":1},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447289346494464.jpg","showSequence":2},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447287740076032.jpg","showSequence":3},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447289090641920.jpg","showSequence":4},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447289195499520.jpg","showSequence":5},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447289484906496.jpg","showSequence":6},{"pixel":"750*292","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x292_616447289543626752.jpg","showSequence":7}],"directPaymentAmount":22100,"brand":{"logo":"http://img.xiaoxiangyoupin.com/image/a043d160-54f8-4bc2-b8fe-526dab72ee30.jpg","brandCode":"2079","introduce":"华为是全球最大的电信网络解决方案提供商，全球第二大电信基站设备供应商，全球第一大通讯设备供应商，全球第四大智能手机厂商，也是全球领先的信息与通信解决方案供应商。","brandName":"华为/HUAWEI"},"instalment":true,"putawayTime":1477288325000,"superRebateAmount":18400,"goodsName":"【华为】Matebook 12英寸笔记本M5 4G+256G（金色）"}
     */

    private BodyBean body;
    /**
     * message : success
     * code : 200
     */

    private HeadsBean heads;

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public HeadsBean getHeads() {
        return heads;
    }

    public void setHeads(HeadsBean heads) {
        this.heads = heads;
    }

    public static class BodyBean {
        /**
         * platformCode : 006
         * goodSource : 1
         * goodsCode : 102071
         * peroidInstalmentAmount : 61567
         * promotionPrice : 738800
         * categoryTow : {"id":194,"categoryName":"平板","categoryCode":"40134"}
         * goodsSourceStoreName : 华为官方旗舰店
         * categoryOne : {"id":44,"categoryName":"数码","categoryCode":"4044"}
         * propertyValues : [{"property":{"name":"品牌"},"option":{"propertyOptionsValue":"华为/HUAWEI"}},{"id":124918,"property":{"id":167,"goodsCategoryIdid":47,"name":"系统"},"option":{"id":2694,"propertyId":167,"propertyOptionsValue":"windows"}},{"id":124920,"property":{"id":168,"goodsCategoryIdid":47,"name":"硬盘"},"option":{"id":1296,"propertyId":168,"propertyOptionsValue":"256GB"}},{"id":124922,"property":{"id":305,"goodsCategoryIdid":47,"name":"特色"},"option":{"id":13216,"propertyId":305,"propertyOptionsValue":"PC平板二合一"}},{"id":124924,"property":{"id":696,"goodsCategoryIdid":57,"name":"产地"},"option":{"id":3098,"propertyId":696,"propertyOptionsValue":"中国大陆"}},{"id":124926,"property":{"id":3412,"goodsCategoryIdid":194,"name":"处理器品牌"},"option":{"id":9678,"propertyId":3412,"propertyOptionsValue":"Intel/英特尔"}}]
         * instalmentPeriods : 12
         * title : 华为（HUAWEI）MateBook 12英寸平板二合一笔记本电脑 (Intel core m5 8G内存 256G存储 键盘 Win10)香槟金
         * isInstalment : true
         * skuFlag : false
         * originalPrice : 738800
         * instalmentInfo : 12期免息分期，仅需要每期支付￥615.67
         * sourcePlatformPicurl : http://img.xiaoxiangyoupin.com/image/40fa3a33-d451-40c7-bd3f-5c59a9d9effc.jpg
         * thumbnailUrl : http://img.xiaoxiangyoupin.com/image/750x750_616447189635305472.jpg
         * images : [{"pixel":"750*300","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x300_616447290105663488.png","showSequence":0},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447288998367232.jpg","showSequence":1},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447289346494464.jpg","showSequence":2},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447287740076032.jpg","showSequence":3},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447289090641920.jpg","showSequence":4},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447289195499520.jpg","showSequence":5},{"pixel":"750*750","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x750_616447289484906496.jpg","showSequence":6},{"pixel":"750*292","imageUrl":"http://img.xiaoxiangyoupin.com/image/750x292_616447289543626752.jpg","showSequence":7}]
         * directPaymentAmount : 22100
         * brand : {"logo":"http://img.xiaoxiangyoupin.com/image/a043d160-54f8-4bc2-b8fe-526dab72ee30.jpg","brandCode":"2079","introduce":"华为是全球最大的电信网络解决方案提供商，全球第二大电信基站设备供应商，全球第一大通讯设备供应商，全球第四大智能手机厂商，也是全球领先的信息与通信解决方案供应商。","brandName":"华为/HUAWEI"}
         * instalment : true
         * putawayTime : 1477288325000
         * superRebateAmount : 18400
         * goodsName : 【华为】Matebook 12英寸笔记本M5 4G+256G（金色）
         */

        private GoodBean good;

        public GoodBean getGood() {
            return good;
        }

        public void setGood(GoodBean good) {
            this.good = good;
        }

        public static class GoodBean {
            private String platformCode;
            private int goodSource;
            private String goodsCode;
            private int peroidInstalmentAmount;
            private int promotionPrice;
            /**
             * id : 194
             * categoryName : 平板
             * categoryCode : 40134
             */

            private CategoryTowBean categoryTow;
            private String goodsSourceStoreName;
            /**
             * id : 44
             * categoryName : 数码
             * categoryCode : 4044
             */

            private CategoryOneBean categoryOne;
            private int instalmentPeriods;
            private String title;
            private boolean isInstalment;
            private boolean skuFlag;
            private int originalPrice;
            private String instalmentInfo;
            private String sourcePlatformPicurl;
            private String thumbnailUrl;
            private int directPaymentAmount;
            /**
             * logo : http://img.xiaoxiangyoupin.com/image/a043d160-54f8-4bc2-b8fe-526dab72ee30.jpg
             * brandCode : 2079
             * introduce : 华为是全球最大的电信网络解决方案提供商，全球第二大电信基站设备供应商，全球第一大通讯设备供应商，全球第四大智能手机厂商，也是全球领先的信息与通信解决方案供应商。
             * brandName : 华为/HUAWEI
             */

            private BrandBean brand;
            private boolean instalment;
            private long putawayTime;
            private int superRebateAmount;
            private String goodsName;
            /**
             * property : {"name":"品牌"}
             * option : {"propertyOptionsValue":"华为/HUAWEI"}
             */

            private List<PropertyValuesBean> propertyValues;
            /**
             * pixel : 750*300
             * imageUrl : http://img.xiaoxiangyoupin.com/image/750x300_616447290105663488.png
             * showSequence : 0
             */

            private List<ImagesBean> images;

            public String getPlatformCode() {
                return platformCode;
            }

            public void setPlatformCode(String platformCode) {
                this.platformCode = platformCode;
            }

            public int getGoodSource() {
                return goodSource;
            }

            public void setGoodSource(int goodSource) {
                this.goodSource = goodSource;
            }

            public String getGoodsCode() {
                return goodsCode;
            }

            public void setGoodsCode(String goodsCode) {
                this.goodsCode = goodsCode;
            }

            public int getPeroidInstalmentAmount() {
                return peroidInstalmentAmount;
            }

            public void setPeroidInstalmentAmount(int peroidInstalmentAmount) {
                this.peroidInstalmentAmount = peroidInstalmentAmount;
            }

            public int getPromotionPrice() {
                return promotionPrice;
            }

            public void setPromotionPrice(int promotionPrice) {
                this.promotionPrice = promotionPrice;
            }

            public CategoryTowBean getCategoryTow() {
                return categoryTow;
            }

            public void setCategoryTow(CategoryTowBean categoryTow) {
                this.categoryTow = categoryTow;
            }

            public String getGoodsSourceStoreName() {
                return goodsSourceStoreName;
            }

            public void setGoodsSourceStoreName(String goodsSourceStoreName) {
                this.goodsSourceStoreName = goodsSourceStoreName;
            }

            public CategoryOneBean getCategoryOne() {
                return categoryOne;
            }

            public void setCategoryOne(CategoryOneBean categoryOne) {
                this.categoryOne = categoryOne;
            }

            public int getInstalmentPeriods() {
                return instalmentPeriods;
            }

            public void setInstalmentPeriods(int instalmentPeriods) {
                this.instalmentPeriods = instalmentPeriods;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public boolean isIsInstalment() {
                return isInstalment;
            }

            public void setIsInstalment(boolean isInstalment) {
                this.isInstalment = isInstalment;
            }

            public boolean isSkuFlag() {
                return skuFlag;
            }

            public void setSkuFlag(boolean skuFlag) {
                this.skuFlag = skuFlag;
            }

            public int getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(int originalPrice) {
                this.originalPrice = originalPrice;
            }

            public String getInstalmentInfo() {
                return instalmentInfo;
            }

            public void setInstalmentInfo(String instalmentInfo) {
                this.instalmentInfo = instalmentInfo;
            }

            public String getSourcePlatformPicurl() {
                return sourcePlatformPicurl;
            }

            public void setSourcePlatformPicurl(String sourcePlatformPicurl) {
                this.sourcePlatformPicurl = sourcePlatformPicurl;
            }

            public String getThumbnailUrl() {
                return thumbnailUrl;
            }

            public void setThumbnailUrl(String thumbnailUrl) {
                this.thumbnailUrl = thumbnailUrl;
            }

            public int getDirectPaymentAmount() {
                return directPaymentAmount;
            }

            public void setDirectPaymentAmount(int directPaymentAmount) {
                this.directPaymentAmount = directPaymentAmount;
            }

            public BrandBean getBrand() {
                return brand;
            }

            public void setBrand(BrandBean brand) {
                this.brand = brand;
            }

            public boolean isInstalment() {
                return instalment;
            }

            public void setInstalment(boolean instalment) {
                this.instalment = instalment;
            }

            public long getPutawayTime() {
                return putawayTime;
            }

            public void setPutawayTime(long putawayTime) {
                this.putawayTime = putawayTime;
            }

            public int getSuperRebateAmount() {
                return superRebateAmount;
            }

            public void setSuperRebateAmount(int superRebateAmount) {
                this.superRebateAmount = superRebateAmount;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public List<PropertyValuesBean> getPropertyValues() {
                return propertyValues;
            }

            public void setPropertyValues(List<PropertyValuesBean> propertyValues) {
                this.propertyValues = propertyValues;
            }

            public List<ImagesBean> getImages() {
                return images;
            }

            public void setImages(List<ImagesBean> images) {
                this.images = images;
            }

            public static class CategoryTowBean {
                private int id;
                private String categoryName;
                private String categoryCode;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getCategoryName() {
                    return categoryName;
                }

                public void setCategoryName(String categoryName) {
                    this.categoryName = categoryName;
                }

                public String getCategoryCode() {
                    return categoryCode;
                }

                public void setCategoryCode(String categoryCode) {
                    this.categoryCode = categoryCode;
                }
            }

            public static class CategoryOneBean {
                private int id;
                private String categoryName;
                private String categoryCode;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getCategoryName() {
                    return categoryName;
                }

                public void setCategoryName(String categoryName) {
                    this.categoryName = categoryName;
                }

                public String getCategoryCode() {
                    return categoryCode;
                }

                public void setCategoryCode(String categoryCode) {
                    this.categoryCode = categoryCode;
                }
            }

            public static class BrandBean {
                private String logo;
                private String brandCode;
                private String introduce;
                private String brandName;

                public String getLogo() {
                    return logo;
                }

                public void setLogo(String logo) {
                    this.logo = logo;
                }

                public String getBrandCode() {
                    return brandCode;
                }

                public void setBrandCode(String brandCode) {
                    this.brandCode = brandCode;
                }

                public String getIntroduce() {
                    return introduce;
                }

                public void setIntroduce(String introduce) {
                    this.introduce = introduce;
                }

                public String getBrandName() {
                    return brandName;
                }

                public void setBrandName(String brandName) {
                    this.brandName = brandName;
                }
            }

            public static class PropertyValuesBean {
                /**
                 * name : 品牌
                 */

                private PropertyBean property;
                /**
                 * propertyOptionsValue : 华为/HUAWEI
                 */

                private OptionBean option;

                public PropertyBean getProperty() {
                    return property;
                }

                public void setProperty(PropertyBean property) {
                    this.property = property;
                }

                public OptionBean getOption() {
                    return option;
                }

                public void setOption(OptionBean option) {
                    this.option = option;
                }

                public static class PropertyBean {
                    private String name;

                    public String getName() {
                        return name;
                    }

                    public void setName(String name) {
                        this.name = name;
                    }
                }

                public static class OptionBean {
                    private String propertyOptionsValue;

                    public String getPropertyOptionsValue() {
                        return propertyOptionsValue;
                    }

                    public void setPropertyOptionsValue(String propertyOptionsValue) {
                        this.propertyOptionsValue = propertyOptionsValue;
                    }
                }
            }

            public static class ImagesBean {
                private String pixel;
                private String imageUrl;
                private int showSequence;

                public String getPixel() {
                    return pixel;
                }

                public void setPixel(String pixel) {
                    this.pixel = pixel;
                }

                public String getImageUrl() {
                    return imageUrl;
                }

                public void setImageUrl(String imageUrl) {
                    this.imageUrl = imageUrl;
                }

                public int getShowSequence() {
                    return showSequence;
                }

                public void setShowSequence(int showSequence) {
                    this.showSequence = showSequence;
                }
            }
        }
    }

    public static class HeadsBean {
        private String message;
        private int code;

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }
    }
}
